<html>
<head>
<title>addIntAct</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" src="../../_sharedassets/pages.js"></script>
</head>
<body>
<table class="nav" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="100%" align="left"></td><td><a href="FStEngOneFive_30.html"><img src="../../_sharedassets/previous.gif" alt="Previous"></a><img src="../../_sharedassets/shim.gif" width="10"  height="1"><a href="FStEngOneFive_32.html"><img src="../../_sharedassets/next.gif" alt="Next"></a></td></tr><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="4" width="1"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/pixel.gif" height="1" width="100%"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="11" width="1"></td></tr></table>
<h1>addIntAct</h1>
<h4>Usage</h4>
<pre>
<i>myhStateC.addIntAct(id, actfn, actTrig)</i>
</pre>
<h4>Parameters</h4>
<p><i>id</i> ID of the internal action (must be unique with respect to other actions on this state)</p>
<p><i>actfn</i> Function to call when action is triggered</p>
<p><i>actTrig</i> Trigger name (string) for this transition (FStEng v1.5)</p>
<h4>Returns</h4>
<p>Nothing</p>
<h4>Description</h4>
<p>Add an internal action for the state. If the developer wants to manually code the event handler, then the developer uses <code>execIntAct()</code> to fire this action when it is triggered. To use the v1.5 event handling mechanism, simply tell this method the event name string (third parameter).</p>
<table class="nav" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="6" width="1"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/pixel.gif" height="1" width="100%"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="4" width="1"></td></tr><tr><td width="100%" align="left"></td><td><a href="FStEngOneFive_30.html"><img src="../../_sharedassets/previous.gif" alt="Previous"></a><img src="../../_sharedassets/shim.gif" width="10" height="1"><a href="FStEngOneFive_32.html"><img src="../../_sharedassets/next.gif" alt="Next"></a></td></tr></table>
</body>
</html>